/// Creator:      fengliang
/// CreatDate:    2022-06-14
/// Description:  模板字段配置
Class CF.NUR.MNISV3.ModelItem Extends %Persistent
{

Relationship RecParref As CF.NUR.MNISV3.ModelForm [ Cardinality = parent, Inverse = ChildRec ];

/// 模板代码
Property ModelCode As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 2 ];

/// 字段描述
Property ItemName As %Library.String [ SqlColumnNumber = 3 ];

/// 字段代码
Property ItemCode As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 4 ];

/// 字段类型 O 下拉  M 多选 R单选  T 文本 E 填写框 D日期 TI时间等
Property ItemType As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 5 ];

/// 字段备注 - 未使用
Property ItemNote As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 6 ];

/// 下拉内容 - item的选项：是!否！
Property ItemOption As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 7 ];

/// 默认值，如果数据源有数据 会覆盖默认值
Property ItemDefault As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 8 ];

/// 是否可编辑
Property CanEditFlag As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 9 ];

/// 顺序
Property ItemSort As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 10 ];

/// 必填项 - 1或Y是
Property RequiredFlag As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 11 ];

/// 位置 - 输血用Postion 1,2 表示XY; 优先取PositionX，PositionY
Property Position As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 12 ];

/// XY 替换Position；优先取PositionX，PositionY
Property PositionX As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 13 ];

/// Y坐标
Property PositionY As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 14 ];

/// 关联字段 - 未使用
Property LinkCode As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 15 ];

/// 标签显示 (N 不显示Label 空/Y 显示)
Property LabelFlag As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 16 ];

/// 体征代码 - 未使用
Property SignCode As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 17 ];

/// 键盘类型 1,体征键盘 "TEMP" 2,对于Android类型: 文本TYPE_CLASS_TEXT=1; 数字TYPE_CLASS_NUMBER=2; TYPE_NUMBER_FLAG_DECIMAL=2000
Property KeyboardType As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 18 ];

/// 精简标记 - 未使用
Property SimpleFlag As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 19 ];

/// 数据源字段
Property DataSource As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 20 ];

/// 占屏幕百分比 - item的宽度；取值0~1 优先宽度，不设置则根据Position平分一行中的item
Property ItemWidth As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 21 ];

/// item的高度：取值大于1 一般50即可
Property ItemHeight As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 22 ];

/// item的行高
Property LineHeight As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 23 ];

/// 值Y：简单签名布局--输入回车调用editTextConvert后台
Property SignFlag As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 24 ];

/// item的颜色 <custom>标签
Property Color As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 25 ];

/// item的字体 <custom>标签
Property FontSize As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 26 ];

/// item字体样式：bold <custom>标签
Property FontWeight As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 27 ];

/// ItemName标签颜色  <custom>标签
Property LabelColor As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 28 ];

/// ItemName标签字体大小  <custom>标签
Property LabelFontSize As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 29 ];

/// ItemName标签样式：bold <custom>标签
Property LabelFontWeight As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 31 ];

/// 背景(包含item内容，ItemName标签，layoutChild背景)： <custom>标签
Property BackgroundColor As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 32 ];

/// 边距：一个值 上下左右；两个值：第一个左右，第二个 上下
Property Margin As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 33 ];

/// 位置居中 居右
Property Gravity As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 34 ];

/// 关联 对应code 例如"RelateIds": "有=Symptom!SymptomElse!Measure" R是radio按钮单选，对应RelateIds关联‘有’，则显示ItemCode=‘Symptom‘等，点击‘无’则隐藏
Property RelateIds As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 35 ];

/// 是否隐藏- 1或Y是
Property RelateHide As %Library.String(TRUNCATE = 1) [ SqlColumnNumber = 36 ];

/// 索引 模板代码ModelCode  字段代码ItemCode 关联字段LinkCode
Index Code On ModelCode;

Index CodeItem On (ModelCode, ItemCode);

Index CodeLink On (ModelCode, LinkCode);

Index LinkCode On (ItemCode, LinkCode);

/// Creator:      fengliang
/// CreatDate:    2022-06-14
/// Description:  保存
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|1^ModelCode|G^ItemName|姓名^ItemCode|PatName^ItemType|T^Position|1,1^LinkCode|^DataSource|PatName")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|1^ModelCode|G^ItemName|床号^ItemCode|BedCode^ItemType|T^Position|3,1^LinkCode|^DataSource|BedCode")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|1^ModelCode|G^ItemName|科室^ItemCode|PatLoc^ItemType|T^Position|4,1^LinkCode|^DataSource|PatLoc")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|1^ModelCode|G^ItemName|性别^ItemCode|PatSex^ItemType|T^Position|5,1^LinkCode|^DataSource|PatSex")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|1^ModelCode|G^ItemName|登记号^ItemCode|PatRegNo^ItemType|T^Position|6,1^LinkCode|^DataSource|PatRegNo")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|患者信息^ItemCode|BloodPatName^ItemType|T^Position|1,1^LinkCode|^DataSource|bloodPatName^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|床号^ItemCode|BloodBedCode^ItemType|T^Position|1,2^LinkCode|^DataSource|bloodBedCode^LabelFlag|N")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|登记号^ItemCode|BloodPatRegNo^ItemType|T^Position|1,3^LinkCode|^DataSource|bloodPatRegNo^LabelFlag|N")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|输血种类^ItemCode|ProductDesc^ItemType|T^Position|2,1^LinkCode|^DataSource|productDesc^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|血量^ItemCode|Volume^ItemType|T^Position|3,1^LinkCode|^DataSource|^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|血型^ItemCode|BloodGroup^ItemType|T^Position|4,1^LinkCode|^DataSource|volume^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|交叉配血结果^ItemCode|xmResult^ItemType|T^Position|5,1^LinkCode|^DataSource|bloodGroup^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|失效时间^ItemCode|ExpireDateTime^ItemType|T^Position|6,1^LinkCode|^DataSource|expireDateTime^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|献血码^ItemCode|BloodbagId^ItemType|T^Position|7,1^LinkCode|^DataSource|bloodbagId^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|2^ModelCode|G^ItemName|产品码^ItemCode|BloodProductId^ItemType|T^Position|8,1^LinkCode|^DataSource|bloodProductId^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|3^ModelCode|G^ItemName|输血外观无异常^ItemCode|Item1^ItemType|M^Position|1,1^LinkCode|Item1")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|3^ModelCode|G^ItemName|输血装置完好^ItemCode|Item2^ItemType|M^Position|2,1^LinkCode|Item2")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|体温^ItemCode|Temperature^ItemType|E^Position|1,1^LinkCode|Item1^SignCode|Item1^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|脉搏^ItemCode|Pulse^ItemType|E^Position|1,2^LinkCode|Item2^SignCode|pulse^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|心率^ItemCode|Heartbeat^ItemType|E^Position|1,3^LinkCode|Item3^SignCode|heartbeat^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|呼吸^ItemCode|Breath^ItemType|E^Position|2,1^LinkCode|Item4^SignCode|breath^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|收缩压^ItemCode|SysPressure^ItemType|E^Position|2,2^LinkCode|Item5^SignCode|sysPressure^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|舒张压^ItemCode|DiaPressure^ItemType|E^Position|2,3^LinkCode|Item6^SignCode|diaPressure^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|滴速^ItemCode|BloodSpeed^ItemType|E^Position|3,1^LinkCode|Item7^SignCode|^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|抗过敏药物^ItemCode|IfOrd^ItemType|M^Position|4,1^LinkCode|Item8^SignCode|^KeyboardType|^ItemOption|有!无")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|4^ModelCode|^ItemName|药物名称^ItemCode|OrdName^ItemType|E^Position|5,1^LinkCode|Item9^SignCode|^KeyboardType|^ItemOption|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|体温^ItemCode|Temperature^ItemType|E^Position|1,1^LinkCode|Item1^SignCode|Item1^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|脉搏^ItemCode|Pulse^ItemType|E^Position|1,2^LinkCode|Item2^SignCode|pulse^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|心率^ItemCode|Heartbeat^ItemType|E^Position|1,3^LinkCode|Item3^SignCode|heartbeat^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|呼吸^ItemCode|Breath^ItemType|E^Position|2,1^LinkCode|Item4^SignCode|breath^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|收缩压^ItemCode|SysPressure^ItemType|E^Position|2,2^LinkCode|Item5^SignCode|sysPressure^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|舒张压^ItemCode|DiaPressure^ItemType|E^Position|2,3^LinkCode|Item6^SignCode|diaPressure^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|滴速^ItemCode|BloodSpeed^ItemType|E^Position|3,1^LinkCode|Item7^SignCode|^KeyboardType|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|不良反应^ItemCode|ADRS^ItemType|R^Position|4,1^LinkCode|Item8^SignCode|^KeyboardType|^ItemOption|有!无")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|症状^ItemCode|Symptom^ItemType|M^Position|5,1^LinkCode|Item9^SignCode|^KeyboardType|^ItemOption|皮疹!寒战!发热!腰痛!血尿!胸闷!心悸!四肢抽搐!其他")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|症状其他^ItemCode|SymptomElse^ItemType|E^Position|6,1^LinkCode|Item10^SignCode|^KeyboardType|^ItemOption|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|5^ModelCode|^ItemName|处理措施^ItemCode|Measure^ItemType|E^Position|7,1^LinkCode|Item11^SignCode|^KeyboardType|^ItemOption|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|6^ModelCode|^ItemName|不良反应^ItemCode|ADRS^ItemType|R^Position|1,1^LinkCode|Item1^SignCode|^KeyboardType|^ItemOption|有!无")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|6^ModelCode|^ItemName|症状^ItemCode|Symptom^ItemType|M^Position|2,1^LinkCode|Item2^SignCode|^KeyboardType|^ItemOption|皮疹!寒战!发热!腰痛!血尿!胸闷!心悸!四肢抽搐!其他")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|6^ModelCode|^ItemName|症状其他^ItemCode|SymptomElse^ItemType|E^Position|3,1^LinkCode|Item3^SignCode|^KeyboardType|^ItemOption|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|6^ModelCode|^ItemName|处理措施^ItemCode|Measure^ItemType|E^Position|4,1^LinkCode|Item4^SignCode|^KeyboardType|^ItemOption|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|6^ModelCode|^ItemName|余量^ItemCode|LeftVolume^ItemType|E^Position|5,1^LinkCode|Item5^SignCode|^KeyboardType|^ItemOption|^ItemDefault|0")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|6^ModelCode|^ItemName|结束类型^ItemCode|EndType^ItemType|M^Position|6,1^LinkCode|Item6^SignCode|^KeyboardType|^ItemOption|结束!终止^ItemDefault|结束")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|7^ModelCode|^ItemName|去向^ItemCode|Where^ItemType|M^Position|1,1^LinkCode|Item1^SignCode|^KeyboardType|^ItemOption|血库!检验科!废弃^ItemDefault|废弃")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|12^ModelCode|G^ItemName|姓名^ItemCode|PatName^ItemType|T^Position|1,1^LinkCode|^DataSource|bloodPatName^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|12^ModelCode|G^ItemName|床号^ItemCode|BedCode^ItemType|T^Position|1,2^LinkCode|^DataSource|bloodBedCode^LabelFlag|N")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|12^ModelCode|G^ItemName|登记号^ItemCode|PatRegNo^ItemType|T^Position|1,3^LinkCode|^DataSource|bloodPatRegNo^LabelFlag|N")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|12^ModelCode|G^ItemName|医嘱名称^ItemCode|ProductDesc^ItemType|T^Position|2,1^LinkCode|^DataSource|productDesc^LabelFlag|")
/// other:        w ##class(CF.NUR.MNISV3.ModelItem).Save("","ModeFormId|12^ModelCode|G^ItemName|剂量^ItemCode|Volume^ItemType|T^Position|2,2^LinkCode|^DataSource|^LabelFlag|")
ClassMethod Save(id, parr)
{
    s tmp=""
    s $zt="errSave"
    s a=##class(web.DHCMGNurComm).setmoudtmp(parr,.tmp)
    s ModelCode=$zcvt(tmp("ModelCode"),"u")
    s ItemCode=$zcvt(tmp("ItemCode"),"u")
    s formId=$O(^CF.NUR.MNISV3.ModelItemI("CodeItem"," "_ModelCode," "_ItemCode,""))
    i formId'="" { // 父子表--ID有两层
        s itemId=$O(^CF.NUR.MNISV3.ModelItemI("CodeItem"," "_ModelCode," "_ItemCode,formId,""))
        i itemId'=""  s id=formId_"||"_itemId  //更新数据
    }
    if id'=""
    {
        s rec=##class(CF.NUR.MNISV3.ModelItem).%OpenId(id)
    }else{
        s rec=##class(CF.NUR.MNISV3.ModelItem).%New()
        s rec.RecParref=##class(CF.NUR.MNISV3.ModelForm).%OpenId(tmp("ModeFormId"))
    }
    
    i $d(tmp("ModelCode")) s rec.ModelCode=tmp("ModelCode")
    i $d(tmp("ItemName")) s rec.ItemName=tmp("ItemName")
    i $d(tmp("ItemCode")) s rec.ItemCode=tmp("ItemCode")
    i $d(tmp("ItemType")) s rec.ItemType=tmp("ItemType")
    i $d(tmp("ItemNote")) s rec.ItemNote=tmp("ItemNote")
    i $d(tmp("ItemSort")) s rec.ItemSort=tmp("ItemSort")
    i $d(tmp("Position")) s rec.Position=tmp("Position")
    i $d(tmp("PositionX")) s rec.PositionX=tmp("PositionX")
    i $d(tmp("PositionY")) s rec.PositionY=tmp("PositionY")
    i $d(tmp("LinkCode")) s rec.LinkCode=tmp("LinkCode") 
    i $d(tmp("LabelFlag")) s rec.LabelFlag=tmp("LabelFlag")
    e  s rec.LabelFlag="Y" //默认显示标签名称
    i $d(tmp("CanEditFlag")) s rec.CanEditFlag=tmp("CanEditFlag")
    e  s rec.CanEditFlag="Y" //默认能可编辑
    i $d(tmp("SignCode")) s rec.SignCode=tmp("SignCode")
    i $d(tmp("RequiredFlag")) s rec.RequiredFlag=tmp("RequiredFlag")
    i $d(tmp("KeyboardType")) s rec.KeyboardType=tmp("KeyboardType")
    i $d(tmp("SimpleFlag")) s rec.SimpleFlag=tmp("SimpleFlag")
    i $d(tmp("DataSource")) s rec.DataSource=tmp("DataSource")
    i $d(tmp("ItemOption")) s rec.ItemOption=tmp("ItemOption")
    i $d(tmp("ItemDefault")) s rec.ItemDefault=tmp("ItemDefault")
    s sc=rec.%Save()
    s id=rec.%Id()
    d rec.%Close()
    q:$$$ISERR(sc) "err:"_$SYSTEM.Status.GetErrorText(sc)
    q id
errSave
  w $ze,!
  q
}

/// 将form表单输入内容 ---> itemCode|内容^itemCode|内容
/// w ##class(CF.NUR.MNISV3.ModelItem).GetParrStrByForm("{""8||3"":""是"",""8||2"":""11:19"",""8||1"":""2025-08-22"",""8||7"":""污浊"",""8||6"":""仰卧位"",""8||5"":""意识模糊"",""8||4"":""外出""}")
ClassMethod GetParrStrByForm(form)
{
    s parrStr=""
    i $g(form)'="" {
        s itemType=""
        s set=##class(Nur.MNISV3.Common.JSON).Decode(form)
        s key=set.Next("")
        while (key'="") {
            s value=set.GetAt(key)
            s rec=##class(CF.NUR.MNISV3.ModelItem).%OpenId(key)
            s itemCode=rec.ItemCode //取出 Code---兼容老板本
            d rec.%Close()
            i parrStr="" s parrStr=itemCode_"|"_value
            e  s parrStr=parrStr_"^"_itemCode_"|"_value
            
            s key=set.Next(key)
        }
    }  
   q parrStr
}

Storage Default
{
<Data name="ModelItemDefaultData">
<Value name="1">
<Value>%%CLASSNAME</Value>
</Value>
<Value name="2">
<Value>ModelCode</Value>
</Value>
<Value name="3">
<Value>ItemName</Value>
</Value>
<Value name="4">
<Value>ItemCode</Value>
</Value>
<Value name="5">
<Value>ItemType</Value>
</Value>
<Value name="6">
<Value>ItemNote</Value>
</Value>
<Value name="7">
<Value>ItemOption</Value>
</Value>
<Value name="8">
<Value>ItemDefault</Value>
</Value>
<Value name="9">
<Value>CanEditFlag</Value>
</Value>
<Value name="10">
<Value>ItemSort</Value>
</Value>
<Value name="11">
<Value>RequiredFlag</Value>
</Value>
<Value name="12">
<Value>Position</Value>
</Value>
<Value name="13">
<Value>PositionX</Value>
</Value>
<Value name="14">
<Value>PositionY</Value>
</Value>
<Value name="15">
<Value>LinkCode</Value>
</Value>
<Value name="16">
<Value>LabelFlag</Value>
</Value>
<Value name="17">
<Value>SignCode</Value>
</Value>
<Value name="18">
<Value>KeyboardType</Value>
</Value>
<Value name="19">
<Value>SimpleFlag</Value>
</Value>
<Value name="20">
<Value>DataSource</Value>
</Value>
<Value name="21">
<Value>ItemWidth</Value>
</Value>
<Value name="22">
<Value>ItemHeight</Value>
</Value>
<Value name="23">
<Value>LineHeight</Value>
</Value>
<Value name="24">
<Value>SignFlag</Value>
</Value>
<Value name="25">
<Value>Color</Value>
</Value>
<Value name="26">
<Value>FontSize</Value>
</Value>
<Value name="27">
<Value>FontWeight</Value>
</Value>
<Value name="28">
<Value>LabelColor</Value>
</Value>
<Value name="29">
<Value>LabelFontSize</Value>
</Value>
<Value name="30">
<Value>LabelFontWeight</Value>
</Value>
<Value name="31">
<Value>BackgroundColor</Value>
</Value>
<Value name="32">
<Value>Margin</Value>
</Value>
<Value name="33">
<Value>Gravity</Value>
</Value>
<Value name="34">
<Value>RelateIds</Value>
</Value>
<Value name="35">
<Value>RelateHide</Value>
</Value>
</Data>
<DataLocation>^CF.NUR.MNISV3.ModelItemD</DataLocation>
<DefaultData>ModelItemDefaultData</DefaultData>
<IdLocation>{%%PARENT}("ChildSub")</IdLocation>
<IndexLocation>^CF.NUR.MNISV3.ModelItemI</IndexLocation>
<StreamLocation>^CF.NUR.MNISV3.ModelItemS</StreamLocation>
<Type>%Storage.Persistent</Type>
}

}
